﻿namespace Bootstrap.Security.Authentication
{
    /// <summary>
    /// JWT Token 配置项
    /// </summary>
    public class TokenValidateOption
    {
        /// <summary>
        /// 获得/设置 颁发者 默认 BA
        /// </summary>
        public string Issuer { get; set; } = "BA";

        /// <summary>
        /// 获得/设置 接受者 默认 api
        /// </summary>
        public string Audience { get; set; } = "api";

        /// <summary>
        /// 获得/设置 超期时间 默认 5 分钟
        /// </summary>
        public int Expires { get; set; } = 5;

        /// <summary>
        /// 获得/设置 安全码 默认 BootstrapAdmin-V1.1
        /// </summary>
        public string SecurityKey { get; set; } = "BootstrapAdmin-V1.1";
    }
}
